#include "App_Device.h"
#include "log/log.h"
#include <unistd.h>
#include "App_BT.h"

int main(int argc, char const *argv[])
{
    // 初始化设备
    Device_t *device = App_Device_Init("serial_file");

    // 初始化蓝牙
    App_BT_Init(device);

    // 启动设备
    App_Device_Start();

    sleep(100);

    App_Device_Destroy();
    return 0;
}
